package br.com.duprat.view;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JLabel;

import java.awt.Font;

import javax.swing.JFormattedTextField;
import javax.swing.JOptionPane;
import javax.swing.JSpinner;
import javax.swing.JComboBox;
import javax.swing.JTextField;
import javax.swing.JButton;
import javax.swing.JSeparator;
import javax.swing.SwingConstants;
import javax.swing.JTextPane;
import javax.swing.DefaultComboBoxModel;

import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;


public class PreAtendimento {

	private JFrame frmSistemaDuprat;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;
	private JTextField textField_6;
	private JTextField textField_7;
	private JTextField textField_8;
	private JTextField textField_9;
	private JTextField textField_10;
	private JTextField textField_11;
	private JTextField textField_12;
	private JTextField textField_13;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					PreAtendimento window = new PreAtendimento();
					window.frmSistemaDuprat.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public PreAtendimento() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frmSistemaDuprat = new JFrame();
		frmSistemaDuprat.setTitle("Sistema Duprat");
		frmSistemaDuprat.setBounds(100, 100, 970, 720);
		frmSistemaDuprat.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frmSistemaDuprat.getContentPane().setLayout(null);
		
		JLabel lblNmero = new JLabel("N\u00FAmero:");
		lblNmero.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblNmero.setBounds(10, 12, 56, 14);
		frmSistemaDuprat.getContentPane().add(lblNmero);
		
		JLabel lblNewLabel = new JLabel("1");
		lblNewLabel.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblNewLabel.setBounds(76, 12, 56, 14);
		frmSistemaDuprat.getContentPane().add(lblNewLabel);
		
		JLabel lblCliente = new JLabel("Cliente:");
		lblCliente.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblCliente.setBounds(142, 11, 44, 14);
		frmSistemaDuprat.getContentPane().add(lblCliente);
		
		JLabel lblCliente_1 = new JLabel("Cliente 1");
		lblCliente_1.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblCliente_1.setBounds(196, 11, 298, 14);
		frmSistemaDuprat.getContentPane().add(lblCliente_1);
		
		JLabel lblSituao = new JLabel("Situa\u00E7\u00E3o:");
		lblSituao.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblSituao.setBounds(509, 12, 56, 14);
		frmSistemaDuprat.getContentPane().add(lblSituao);
		
		JLabel lblPrAtendimento = new JLabel("Pr\u00E9 Atendimento");
		lblPrAtendimento.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblPrAtendimento.setBounds(575, 11, 126, 14);
		frmSistemaDuprat.getContentPane().add(lblPrAtendimento);
		
		JLabel lblData = new JLabel("Data:");
		lblData.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblData.setBounds(10, 51, 31, 14);
		frmSistemaDuprat.getContentPane().add(lblData);
		
		JFormattedTextField formattedTextField = new JFormattedTextField();
		formattedTextField.setBounds(51, 49, 99, 20);
		frmSistemaDuprat.getContentPane().add(formattedTextField);
		
		JLabel lblQtdFinal = new JLabel("Qtd. Final:");
		lblQtdFinal.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblQtdFinal.setBounds(169, 52, 68, 14);
		frmSistemaDuprat.getContentPane().add(lblQtdFinal);
		
		JSpinner spinner = new JSpinner();
		spinner.setBounds(236, 49, 81, 20);
		frmSistemaDuprat.getContentPane().add(spinner);
		
		JLabel lblServio = new JLabel("Servi\u00E7o:");
		lblServio.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblServio.setBounds(342, 51, 56, 14);
		frmSistemaDuprat.getContentPane().add(lblServio);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setModel(new DefaultComboBoxModel(new String[] {"", "Servi\u00E7o1", "Servi\u00E7o2", "Servi\u00E7o3"}));
		comboBox.setBounds(400, 49, 119, 20);
		frmSistemaDuprat.getContentPane().add(comboBox);
		
		textField = new JTextField();
		textField.setBounds(529, 49, 126, 20);
		frmSistemaDuprat.getContentPane().add(textField);
		textField.setColumns(10);
		
		JButton btnImprimirFicha = new JButton("Imprimir Ficha");
		btnImprimirFicha.setBounds(682, 48, 141, 23);
		frmSistemaDuprat.getContentPane().add(btnImprimirFicha);
		
		JLabel lblTtulo = new JLabel("T\u00EDtulo:");
		lblTtulo.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblTtulo.setBounds(10, 84, 37, 14);
		frmSistemaDuprat.getContentPane().add(lblTtulo);
		
		textField_1 = new JTextField();
		textField_1.setBounds(51, 82, 347, 20);
		frmSistemaDuprat.getContentPane().add(textField_1);
		textField_1.setColumns(10);
		
		JLabel lblAutor = new JLabel("Autor:");
		lblAutor.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblAutor.setBounds(410, 84, 37, 14);
		frmSistemaDuprat.getContentPane().add(lblAutor);
		
		textField_2 = new JTextField();
		textField_2.setColumns(10);
		textField_2.setBounds(451, 82, 312, 20);
		frmSistemaDuprat.getContentPane().add(textField_2);
		
		JLabel lblResponsvel = new JLabel("Respons\u00E1vel:");
		lblResponsvel.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblResponsvel.setBounds(10, 113, 81, 14);
		frmSistemaDuprat.getContentPane().add(lblResponsvel);
		
		textField_3 = new JTextField();
		textField_3.setColumns(10);
		textField_3.setBounds(90, 111, 215, 20);
		frmSistemaDuprat.getContentPane().add(textField_3);
		
		JLabel lblEmail = new JLabel("Email:");
		lblEmail.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblEmail.setBounds(315, 113, 37, 14);
		frmSistemaDuprat.getContentPane().add(lblEmail);
		
		textField_4 = new JTextField();
		textField_4.setColumns(10);
		textField_4.setBounds(354, 111, 228, 20);
		frmSistemaDuprat.getContentPane().add(textField_4);
		
		JLabel lblTelefone = new JLabel("Telefone:");
		lblTelefone.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblTelefone.setBounds(591, 114, 56, 14);
		frmSistemaDuprat.getContentPane().add(lblTelefone);
		
		JFormattedTextField formattedTextField_1 = new JFormattedTextField();
		formattedTextField_1.setBounds(649, 111, 99, 20);
		frmSistemaDuprat.getContentPane().add(formattedTextField_1);
		
		JButton button = new JButton("+");
		button.setBounds(758, 110, 44, 23);
		frmSistemaDuprat.getContentPane().add(button);
		
		JLabel lblRecebidoEm = new JLabel("Recebido em:");
		lblRecebidoEm.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblRecebidoEm.setBounds(10, 143, 81, 14);
		frmSistemaDuprat.getContentPane().add(lblRecebidoEm);
		
		JComboBox comboBox_1 = new JComboBox();
		comboBox_1.setModel(new DefaultComboBoxModel(new String[] {"", "Produto1", "Produto2", "Produto3"}));
		comboBox_1.setToolTipText("");
		comboBox_1.setBounds(91, 141, 119, 20);
		frmSistemaDuprat.getContentPane().add(comboBox_1);
		
		textField_5 = new JTextField();
		textField_5.setColumns(10);
		textField_5.setBounds(220, 141, 113, 20);
		frmSistemaDuprat.getContentPane().add(textField_5);
		
		JLabel lblContrataoDeServio = new JLabel("Contrata\u00E7\u00E3o de Servi\u00E7o:");
		lblContrataoDeServio.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblContrataoDeServio.setBounds(342, 144, 145, 14);
		frmSistemaDuprat.getContentPane().add(lblContrataoDeServio);
		
		JComboBox comboBox_2 = new JComboBox();
		comboBox_2.setModel(new DefaultComboBoxModel(new String[] {"", "Cont.Serv1", "Cont.Serv2", "Cont.Serv3"}));
		comboBox_2.setBounds(484, 141, 119, 20);
		frmSistemaDuprat.getContentPane().add(comboBox_2);
		
		JLabel lblPrevisoDeEntrega = new JLabel("Previs\u00E3o de Entrega:");
		lblPrevisoDeEntrega.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblPrevisoDeEntrega.setBounds(613, 144, 119, 14);
		frmSistemaDuprat.getContentPane().add(lblPrevisoDeEntrega);
		
		JFormattedTextField formattedTextField_2 = new JFormattedTextField();
		formattedTextField_2.setBounds(733, 141, 99, 20);
		frmSistemaDuprat.getContentPane().add(formattedTextField_2);
		
		textField_6 = new JTextField();
		textField_6.setColumns(10);
		textField_6.setBounds(484, 169, 113, 20);
		frmSistemaDuprat.getContentPane().add(textField_6);
		
		JLabel lblEspecificaesTcnicas = new JLabel("Especifica\u00E7\u00F5es T\u00E9cnicas");
		lblEspecificaesTcnicas.setFont(new Font("Tahoma", Font.BOLD, 15));
		lblEspecificaesTcnicas.setBounds(10, 203, 186, 20);
		frmSistemaDuprat.getContentPane().add(lblEspecificaesTcnicas);
		
		JSeparator separator = new JSeparator();
		separator.setBounds(196, 217, 627, 2);
		frmSistemaDuprat.getContentPane().add(separator);
		
		JLabel lblFormatoFinal = new JLabel("Formato Final:");
		lblFormatoFinal.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblFormatoFinal.setBounds(10, 242, 89, 14);
		frmSistemaDuprat.getContentPane().add(lblFormatoFinal);
		
		JComboBox comboBox_3 = new JComboBox();
		comboBox_3.setModel(new DefaultComboBoxModel(new String[] {"", "Formato1", "Formato2", "Formato3"}));
		comboBox_3.setBounds(104, 240, 133, 20);
		frmSistemaDuprat.getContentPane().add(comboBox_3);
		
		textField_7 = new JTextField();
		textField_7.setColumns(10);
		textField_7.setBounds(247, 240, 151, 20);
		frmSistemaDuprat.getContentPane().add(textField_7);
		
		JLabel lblProgramador = new JLabel("Programador:");
		lblProgramador.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblProgramador.setBounds(421, 242, 89, 14);
		frmSistemaDuprat.getContentPane().add(lblProgramador);
		
		JComboBox comboBox_4 = new JComboBox();
		comboBox_4.setModel(new DefaultComboBoxModel(new String[] {"", "Programador1", "Programador2", "Programador3"}));
		comboBox_4.setBounds(509, 240, 226, 20);
		frmSistemaDuprat.getContentPane().add(comboBox_4);
		
		JLabel lblMiolo = new JLabel("Miolo");
		lblMiolo.setFont(new Font("Tahoma", Font.BOLD, 15));
		lblMiolo.setBounds(10, 288, 49, 20);
		frmSistemaDuprat.getContentPane().add(lblMiolo);
		
		JLabel lblCapa = new JLabel("Capa");
		lblCapa.setFont(new Font("Tahoma", Font.BOLD, 15));
		lblCapa.setBounds(483, 288, 49, 20);
		frmSistemaDuprat.getContentPane().add(lblCapa);
		
		JLabel lblPapel = new JLabel("Papel:");
		lblPapel.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblPapel.setBounds(10, 326, 37, 14);
		frmSistemaDuprat.getContentPane().add(lblPapel);
		
		JComboBox comboBox_5 = new JComboBox();
		comboBox_5.setModel(new DefaultComboBoxModel(new String[] {"", "Papel1", "Papel2", "Papel3"}));
		comboBox_5.setBounds(51, 324, 119, 20);
		frmSistemaDuprat.getContentPane().add(comboBox_5);
		
		textField_8 = new JTextField();
		textField_8.setBounds(177, 324, 99, 20);
		frmSistemaDuprat.getContentPane().add(textField_8);
		textField_8.setColumns(10);
		
		JLabel lblGramatura = new JLabel("Gramatura:");
		lblGramatura.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblGramatura.setBounds(286, 326, 66, 14);
		frmSistemaDuprat.getContentPane().add(lblGramatura);
		
		textField_9 = new JTextField();
		textField_9.setColumns(10);
		textField_9.setBounds(363, 324, 99, 20);
		frmSistemaDuprat.getContentPane().add(textField_9);
		
		JSeparator separator_1 = new JSeparator();
		separator_1.setBounds(446, 441, 1, -138);
		frmSistemaDuprat.getContentPane().add(separator_1);
		
		JSeparator separator_2 = new JSeparator();
		separator_2.setOrientation(SwingConstants.VERTICAL);
		separator_2.setBounds(472, 288, 1, 383);
		frmSistemaDuprat.getContentPane().add(separator_2);
		
		JLabel label_1 = new JLabel("Papel:");
		label_1.setFont(new Font("Tahoma", Font.PLAIN, 13));
		label_1.setBounds(484, 322, 37, 14);
		frmSistemaDuprat.getContentPane().add(label_1);
		
		JComboBox comboBox_6 = new JComboBox();
		comboBox_6.setModel(new DefaultComboBoxModel(new String[] {"", "Papel1", "Papel2", "Papel3"}));
		comboBox_6.setBounds(525, 320, 119, 20);
		frmSistemaDuprat.getContentPane().add(comboBox_6);
		
		textField_10 = new JTextField();
		textField_10.setColumns(10);
		textField_10.setBounds(651, 320, 99, 20);
		frmSistemaDuprat.getContentPane().add(textField_10);
		
		JLabel label_2 = new JLabel("Gramatura:");
		label_2.setFont(new Font("Tahoma", Font.PLAIN, 13));
		label_2.setBounds(760, 322, 66, 14);
		frmSistemaDuprat.getContentPane().add(label_2);
		
		textField_11 = new JTextField();
		textField_11.setColumns(10);
		textField_11.setBounds(837, 320, 99, 20);
		frmSistemaDuprat.getContentPane().add(textField_11);
		
		JLabel lblCor = new JLabel("Cor:");
		lblCor.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblCor.setBounds(10, 366, 37, 14);
		frmSistemaDuprat.getContentPane().add(lblCor);
		
		JComboBox comboBox_7 = new JComboBox();
		comboBox_7.setModel(new DefaultComboBoxModel(new String[] {"", "Cor1", "Cor2", "Cor3"}));
		comboBox_7.setBounds(51, 364, 119, 20);
		frmSistemaDuprat.getContentPane().add(comboBox_7);
		
		textField_12 = new JTextField();
		textField_12.setColumns(10);
		textField_12.setBounds(177, 364, 99, 20);
		frmSistemaDuprat.getContentPane().add(textField_12);
		
		JLabel lblQtdPginasestimado = new JLabel("Qtd. P\u00E1ginas(estimado):");
		lblQtdPginasestimado.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblQtdPginasestimado.setBounds(10, 403, 145, 14);
		frmSistemaDuprat.getContentPane().add(lblQtdPginasestimado);
		
		JSpinner spinner_1 = new JSpinner();
		spinner_1.setBounds(157, 401, 68, 20);
		frmSistemaDuprat.getContentPane().add(spinner_1);
		
		JLabel label_3 = new JLabel("Cor:");
		label_3.setFont(new Font("Tahoma", Font.PLAIN, 13));
		label_3.setBounds(484, 362, 37, 14);
		frmSistemaDuprat.getContentPane().add(label_3);
		
		JComboBox comboBox_8 = new JComboBox();
		comboBox_8.setModel(new DefaultComboBoxModel(new String[] {"", "Cor1", "Cor2", "Cor3"}));
		comboBox_8.setBounds(525, 360, 119, 20);
		frmSistemaDuprat.getContentPane().add(comboBox_8);
		
		textField_13 = new JTextField();
		textField_13.setColumns(10);
		textField_13.setBounds(651, 360, 99, 20);
		frmSistemaDuprat.getContentPane().add(textField_13);
		
		JLabel lblPlast = new JLabel("Plast.:");
		lblPlast.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblPlast.setBounds(484, 399, 37, 14);
		frmSistemaDuprat.getContentPane().add(lblPlast);
		
		JComboBox comboBox_9 = new JComboBox();
		comboBox_9.setModel(new DefaultComboBoxModel(new String[] {"", "Plast1", "Plast2", "Plast3"}));
		comboBox_9.setBounds(529, 401, 119, 20);
		frmSistemaDuprat.getContentPane().add(comboBox_9);
		
		JLabel lblAcabamento = new JLabel("Acabamento:");
		lblAcabamento.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblAcabamento.setBounds(484, 441, 81, 14);
		frmSistemaDuprat.getContentPane().add(lblAcabamento);
		
		JComboBox comboBox_10 = new JComboBox();
		comboBox_10.setModel(new DefaultComboBoxModel(new String[] {"", "Acabamento1", "Acabamento2", "Acabamento3"}));
		comboBox_10.setBounds(575, 439, 126, 20);
		frmSistemaDuprat.getContentPane().add(comboBox_10);
		

		JButton btnSalvar = new JButton("Salvar");
		btnSalvar.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				JOptionPane.showMessageDialog(null, "Arquivo Salvo com sucesso!");
				
			}
		});
		btnSalvar.setBounds(358, 648, 89, 23);
		frmSistemaDuprat.getContentPane().add(btnSalvar);
		
		JButton btnSair = new JButton("Sair");
		btnSair.setBounds(484, 648, 89, 23);
		frmSistemaDuprat.getContentPane().add(btnSair);
		
		JLabel lblObservaes = new JLabel("Observa\u00E7\u00F5es:");
		lblObservaes.setFont(new Font("Tahoma", Font.PLAIN, 13));
		lblObservaes.setBounds(484, 486, 81, 14);
		frmSistemaDuprat.getContentPane().add(lblObservaes);
		
		JTextPane textPane = new JTextPane();
		textPane.setBounds(488, 501, 448, 103);
		frmSistemaDuprat.getContentPane().add(textPane);
	}
}
